<div class="modal-header">
	<h4 class="modal-title">拆分或合并样式规则</h4>
</div>
<div class="modal-body container-fluid form-horizontal">
	<form name="form" novalidate>
		<div class="form-group" >
			<label class="col-xs-2 control-label">样式名称：</label>
			<div class="col-xs-8 mt7">
				{{style.name+"_"+style.code}}
			</div>
		</div>
		<div class="form-group">
			<label class="col-xs-2 control-label">当前级别：</label>
			<div class="col-xs-8 mt7">
				<span ng-repeat="rule in style.data" style="display: inline-block"><{{rule.scale}}>&nbsp;</span>
			</div>
		</div>
		<div class="form-group">
			<label class="col-xs-2 control-label">设置：</label>
			<div class="col-xs-10" class="nowrap">
				<span ng-repeat="scissor in scissors" ng-hide = "scissor.no == 0">{{scissor.no}}
					<button class="btn btn-default" style="padding:6px 0;margin: 0 3px" ng-hide="$index == scissors.length-1"
							ng-class="{'btn-success': scissor.cut&&scissor.can,'btn-danger':!scissor.can}" ng-disabled="!scissor.can" ng-click="caluCut(scissor)"><i class="fa fa-cut"></i></button></span>
			</div>
		</div>
		<div class="form-group">
			<label class="col-xs-2 control-label">设置后级别：</label>
			<div class="col-xs-10 mt7">
				<span ng-repeat="item in scales" style="display: inline-block"><{{item.from+","+item.to}}>&nbsp;</span>
			</div>
		</div>
	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-primary" ng-click="save()">确定</button>
	<button class="btn btn-warning" ng-click="$dismiss()">取消</button>
</div>
